body {
  background-color: #000;
}
.rotate {
  transition: all 0.5s;
  transform-style: preserve-3d;
}
.rotate:hover {
  transform: rotateX(45deg) rotateY(-45deg);
}

.container {
  transform-style: preserve-3d;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 600px;
  height: 600px;
  margin: 100px auto;
  border: 10px solid rgb(227, 237, 205);
  border-radius: 50%;
  /* 动画绑定 */
  animation: circle 10s linear infinite;
}

.container::after {
  content: "";
  display: block;
  width: 800px;
  height: 30%;
  position: absolute;
  top: 200px;
  transform: rotate(45deg);
  background-color: #000;
}

.container::before {
  content: "";
  display: block;
  width: 800px;
  height: 30%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  background-color: #000;
}

.circle1 {
  width: 90%;
  height: 90%;
  border: 8px solid rgb(11, 194, 226);
  border-radius: 50%;
  transform: translateZ(100px);
  transform-style: preserve-3d;
  animation: Vercircle 4s infinite linear;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle1::after {
  content: "";
  display: block;
  width: 500px;
  height: 30%;
  position: absolute;
  top: 200px;
  transform: translateX(30px) rotate(30deg);
  background-color: #000;
}


.circle2 {
  width: 80%;
  height: 80%;
  border: 8px solid rgb(226, 11, 215);
  border-radius: 50%;
  transform: translateZ(100px);
  animation: circle2 2s linear infinite;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.circle2::after {
  content: "";
  display: block;
  width: 500px;
  height: 30%;
  position: absolute;
  top: 200px;
  transform: rotate(12deg);
  background-color: #000;
}

.circle3 {
  width: 60%;
  height: 60%;
  border: 8px solid rgb(255, 255, 255);
  border-radius: 50%;
  position: relative;
  transform: translateZ(100px);
  animation: Vercircle 0.5s linear infinite;
}

.circle3::after {
  content: "";
  display: block;
  width: 200px;
  height: 30%;
  position: absolute;
  top: 200px;
  transform: rotate(38deg);
  background-color: #000;
}

@keyframes circle {
  0% {
    transform:  rotateZ(0);
  }
  100% {
    transform:  rotateZ(360deg);
  }
}

@keyframes Vercircle {
  0% {
    transform: translateZ(100px) rotate(0);
  }
  100% {
    transform: translateZ(100px) rotate(-360deg);
  }
}

@keyframes circle2 {
  0% {
    transform: translateZ(70px) rotate(0);
  }
  100% {
    transform: translateZ(70px) rotate(360deg);
  }
}
